package com.cash.app.utils.extra.model

class SensorData {
    var sensor_lists: MutableList<SensorInfo> = mutableListOf()

    override fun toString(): String {
        return "SensorData(sensor_lists=$sensor_lists)"
    }

    class SensorInfo {
        var type: Int = 0
        var name: String? = null
        var version: Int = 0
        var vendor: String? = null
        var max_range: Float = 0f
        var min_delay: Int = 0
        var power: Float = 0f
        var resolution: Float = 0f

        override fun toString(): String {
            return "SensorInfo(" +
                    "type=$type, " +
                    "name=$name, " +
                    "version=$version, " +
                    "vendor=$vendor, " +
                    "max_range=$max_range, " +
                    "min_delay=$min_delay, " +
                    "power=$power, " +
                    "resolution=$resolution" +
                    ")"
        }
    }
}
